import {$GET, $POST} from '@/http'
// 测试
export const getUserInfo = ()=>{
    return $GET('/user')
}
// 登录
export const loginApi = ()=>{
    return $POST('/login')
}
// 注册
export const registerApi = ()=>{
    return $POST('/register')
}